package com.gxuwz.com_property.index.service.Impl;

import com.gxuwz.com_property.index.mapper.IndexMapper;
import com.gxuwz.com_property.index.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class IndexServiceImpl implements IndexService {
    @Autowired
    private IndexMapper indexMapper;
    @Override
    public Integer getTotalUsersCount() {
        return indexMapper.getTotalUsersCount();
    }

    @Override
    public Integer getTotalRepairCount() {
        return indexMapper.getTotalRepairCount();
    }

    @Override
    public Integer getTotalBusineesCount() {
        return indexMapper.getTotalBusineesCount();
    }

    @Override
    public Integer getTotalNoticeeCount() {
        return indexMapper.getTotalNoticeeCount();
    }
}
